import { MenuItem } from "@/scripts/dataTypes";
import { defineAsyncComponent, ref, shallowRef } from "vue";


export const layerMenuList = ref<MenuItem[]>([
    {
        id: "refresh",
        name: "刷新",
        status: "none",
        icon: new URL('../../../assets/cimrts/virtualLayer/refresh.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/virtualLayer/refresh_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/virtualLayer/refresh_hover.png', import.meta.url).href,
    },
    {
        id: "save",
        name: "保存",
        status: "none",
        icon: new URL('../../../assets/cimrts/virtualLayer/save.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/virtualLayer/save_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/virtualLayer/save_hover.png', import.meta.url).href,
    },
    {
        id: "random",
        name: "生成随颜色",
        status: "none",
        icon: new URL('../../../assets/cimrts/virtualLayer/random.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/virtualLayer/random_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/virtualLayer/random_hover.png', import.meta.url).href,
    },
    {
        id: "reset",
        name: "恢复初始颜色",
        status: "none",
        icon: new URL('../../../assets/cimrts/virtualLayer/reset.png', import.meta.url).href,
        activeIcon: new URL('../../../assets/cimrts/virtualLayer/reset_actived.png', import.meta.url).href,
        hoverIcon: new URL('../../../assets/cimrts/virtualLayer/reset_hover.png', import.meta.url).href,
    },
])

